package com.cisdi.blog.service;

import com.cisdi.blog.entity.Record;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

/**
 * @author pengyangyan
 */
public interface RecordService {

    Page<Record> pageRecords(Pageable pageable);

    Record getRecord(Long id);

    Record addRecord(Record record);

    void deleteRecord(Long id);

    Record updateRecord(Record record);


}
